/*
package com.ctshk.common.log.service.impl;

import com.ctshk.common.log.dto.OperationLogDTO;
import com.ctshk.common.log.entity.OperationLog;
import com.ctshk.common.log.mapper.OperationLogMapper;
import com.ctshk.common.log.service.IOperationLogService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

@DubboService
public class OperationLogServiceImpl implements IOperationLogService {

    @Resource
    private OperationLogMapper operationLogMapper;

    @Override
    public int insert(OperationLogDTO operationLogDTO) {
        OperationLog operationLog = new OperationLog();
        BeanUtils.copyProperties(operationLogDTO, operationLog);
        return operationLogMapper.insert(operationLog);
    }
}
*/
